/**
 * Copyright &copy; 2012-2014 <a href="https://github.com.jims.base">JeeSite</a> All rights reserved.
 */
package com.jims.master.modules.patient.myRecord.dao;


import com.jims.master.common.persistence.CrudDao;
import com.jims.master.common.persistence.annotation.MyBatisDao;
import com.jims.master.modules.patient.myRecord.entity.CaseDiagnosis;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用于病历同步中诊断信息DAO接口
 * @author xueyx
 * @version 2016-07-06
 */
@MyBatisDao
public interface CaseDiagnosisDao extends CrudDao<CaseDiagnosis> {
    /**
     * 通过父级Id查找诊断结果集
     * @param
     * @return
     */
    public List<CaseDiagnosis> findAllListByParent(@Param("parent") String parent);

    public List<CaseDiagnosis> findAllDiagby(@Param("parent") String parent);
    public List<CaseDiagnosis> findAllListByType(@Param("parent") String parent, @Param("type") String type);
    /**
     * 通过父级Id查找诊断结果集(同步数据功能)
     * @param
     * @return
     */
    public List<CaseDiagnosis> findListByParent(@Param("parent") String parent);
	
}